Package-level declarations

Types

Link copied to clipboard

Call rejection reason

Link copied to clipboard

Call user to room completion callback

Link copied to clipboard
data class CreateRoomOptions(var roomName: String = "", var password: String = "", var isAllMicrophoneDisabled: Boolean = false, var isAllCameraDisabled: Boolean = false, var isAllScreenShareDisabled: Boolean = false, var isAllMessageDisabled: Boolean = false)

Create room options

Link copied to clipboard
data class DeviceRequestInfo(val timestamp: Long, val senderUserID: String, val senderUserName: String, val senderNameCard: String, val senderAvatarURL: String, val content: String, val device: DeviceType)

Device request info

Link copied to clipboard

Get room info completion callback

Link copied to clipboard

Reason for being kicked out of room

Link copied to clipboard

Participant role

Link copied to clipboard
data class RoomCall(var caller: RoomUser = RoomUser(), var callee: RoomUser = RoomUser(), var status: RoomCallStatus = RoomCallStatus.NONE)

Room call info

Link copied to clipboard

Call user to room result

Link copied to clipboard

Room call status

Link copied to clipboard
data class RoomInfo(val roomID: String = "", val roomName: String = "", val roomOwner: RoomUser = RoomUser(), val participantCount: Int = 0, val createTime: Long = 0, var roomStatus: RoomStatus = RoomStatus.SCHEDULED, val scheduledStartTime: Long = 0, val scheduledEndTime: Long = 0, val startReminderInSeconds: Int = 0, val scheduleAttendees: List<RoomUser> = emptyList(), val password: String? = null, val isAllMicrophoneDisabled: Boolean = false, val isAllCameraDisabled: Boolean = false, val isAllMessageDisabled: Boolean = false, val isAllScreenShareDisabled: Boolean = false)

Room info

Link copied to clipboard
abstract class RoomListener

Room event callback

Link copied to clipboard
data class RoomParticipant(var userID: String = "", var userName: String = "", var avatarURL: String = "", var nameCard: String = "", var role: ParticipantRole = ParticipantRole.GENERAL_USER, var roomStatus: RoomParticipantStatus = RoomParticipantStatus.SCHEDULED, var microphoneStatus: DeviceStatus = DeviceStatus.OFF, var cameraStatus: DeviceStatus = DeviceStatus.OFF, var screenShareStatus: DeviceStatus = DeviceStatus.OFF, var isMessageDisabled: Boolean = false, var metaData: MutableMap<String, ByteArray> = mutableMapOf())

Room participant info

Link copied to clipboard

Participant event callback

Link copied to clipboard
data class RoomParticipantState(val participantList: StateFlow<List<RoomParticipant>>, val participantListCursor: StateFlow<String>, val participantListWithVideo: StateFlow<List<RoomParticipant>>, val participantWithScreen: StateFlow<RoomParticipant?>, val pendingDeviceApplications: StateFlow<List<DeviceRequestInfo>>, val pendingDeviceInvitations: StateFlow<List<DeviceRequestInfo>>, val speakingUsers: StateFlow<MutableMap<String, Int>>, val networkQualities: StateFlow<MutableMap<String, NetworkInfo>>, val pendingParticipantList: StateFlow<List<RoomParticipant>>, val localParticipant: StateFlow<RoomParticipant?>)

Participant related state data provided by RoomParticipantStore

Link copied to clipboard
Link copied to clipboard
abstract class RoomParticipantStore

Room participant management related interfaces, managing participant permissions, device control, message muting and other operations.

Link copied to clipboard
data class RoomState(val scheduledRoomList: StateFlow<List<RoomInfo>>, val scheduledRoomListCursor: StateFlow<String>, val currentRoom: StateFlow<RoomInfo?>)

Room related state data provided by RoomStore

Link copied to clipboard

Room status

Link copied to clipboard
abstract class RoomStore

Room management related interfaces, managing room creation, joining, leaving, scheduling and other operations.

Link copied to clipboard
data class RoomUser(var userID: String = "", var userName: String = "", var avatarURL: String = "")

Room user info

Link copied to clipboard
data class ScheduleRoomOptions(var roomName: String = "", var password: String = "", var scheduleStartTime: Long = 0, var scheduleEndTime: Long = 0, var reminderSecondsBeforeStart: Int = 0, var scheduleAttendees: List<String> = emptyList(), var isAllMicrophoneDisabled: Boolean = false, var isAllCameraDisabled: Boolean = false, var isAllScreenShareDisabled: Boolean = false, var isAllMessageDisabled: Boolean = false)

Schedule room options

Link copied to clipboard
data class UpdateRoomOptions(var roomName: String = "", var password: String = "")

Update room options